<?php

namespace App\Event;

/**
 * 用户充值事件
 */
class RechargeEvent
{
    public $userId;
    public $rechargeCoin;
    public $rechargeRmb;
    public $eventType = 'recharge';
    public $orderId;

    public function __construct($userId = 0, $rechargeCoin = 0, $rechargeRmb = 0, $orderId = '')
    {
        $this->userId = $userId;
        $this->rechargeCoin = $rechargeCoin;
        $this->rechargeRmb = $rechargeRmb;
        $this->orderId = $orderId;
    }
}
